package com.ctg.edas.demo;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "msap.nacos.provider")
public interface ProviderFeign {

    @GetMapping(value = "/nacos/provider/echo")
    String echo();

    @GetMapping(value = "/nacos/provider/slow")
    String slow(@RequestParam(value = "second") Integer second);

}
